#include <iostream>
#include <algorithm>
#include <string>
#include <cstdio>
#include <vector>
#include <stack>
#include <queue>
#include <set>
using namespace std;
int main()
{
    int i = 0;
    char ch = 0;
    while (ch = getchar())
    {
        cout << i++ << ":" << (int)ch << endl;
    }
    return 0;
}